package com.iflytek.exam.domain;

import com.iflytek.common.core.domain.BaseEntity;

public class QuestionExam extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 试卷id
     */
    private Long examId;
    /*
    题目id
     */
    private Long questionId;
    /**
     * 题目类型（1单选，2多选，3判断，4简答，5计算题）
     */
    private Integer type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "QuestionExam{" +
                "id=" + id +
                ", userId=" + userId +
                ", examId=" + examId +
                ", questionId=" + questionId +
                ", type=" + type +
                '}';
    }
}
